package lab4;

import java.util.Scanner;

/**
	Lab 4 by Henrique "Nican" Polido
*/
public class Main {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		/*
		 * Precinct worcester12; worcester12 = new Precinct("Worcester12",
		 * "130 Winter Street", 1673);
		 * 
		 * System.out.println( worcester12 );
		 * 
		 * Scanner keyboard = new Scanner(System.in);
		 * 
		 * worcester12 = worcester12.grow( keyboard.nextInt() );
		 * 
		 * System.out.println( worcester12 );
		 */

		Scanner keyboard = new Scanner(System.in);

		int pop = keyboard.nextInt();

		/*
		 * After the user enters the population, the user will immediately enter
		 * a new line For which is a empty string until Scanner finds the new
		 * line character
		 */
		keyboard.nextLine(); // Wait until the new line of the population item

		String preName = keyboard.nextLine();
		String preAddr = keyboard.nextLine();

		Precinct precinct = new Precinct(preName, preAddr, pop);

		System.out.println(precinct);

	}

}
